<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
 
<s:layout-render name="/base.jsp" title="Form example">
    <s:layout-component name="body">
 
        form example
  <s:form beanclass="cz.muni.fi.stripesdemo.controller.FormActionBean" focus="">
      <s:errors/>
        <table>
            <tr>
                <td>number:</td>
                <td><s:text name="number"/></td>
            </tr>
            <tr>
                <td>string:</td>
                <td><s:text name="text"/></td>
            </tr>
            <tr>
                <td colspan="2">
                    <s:submit name="processForm" value="Add"/>                    
                </td>
            </tr>            
        </table>
    </s:form>        
    </s:layout-component>
</s:layout-render>